package com.sunnyweather.android.logic.model

import com.google.gson.annotations.SerializedName
//实时天气数据处理模块，将数据封装成一个RealtimeResponse类
class RealtimeResponse(val code: String, val updateTime:String,val fxLink:String,val now:Now,val refer: Refer) {

    class Now(val obsTime:String,val temp:Float,val feelsLike:Float,val icon:Int,
        val text:String,val wind360:Int,val windDir:String,val windScale:String,val windSpeed:Int,
        val humidity:Int,val precip:Float,val pressure:String,val vis:String,val cloud:Float,val dew:Float)

    class Refer(val sources:List<String>,val license:List<String>)
}